<extend name="Public/base" />

<block name="body">
	<!-- 标题栏 -->
	<div class="am-cf am-u-md-12 header-title">
		<h2>修改密码</h2>
	</div>

	<div class="am-cf am-u-md-12 am-margin-top">
		<ul class="am-nav am-nav-tabs">
			<li ><a href="{:U('updatenickname')}">修改昵称</a></li>
			<li class="am-active"><a href="{:U('updatepassword')}">修改密码</a></li>
		</ul>
	</div>

	<div class="am-cf am-u-md-12 am-margin-top">
		<!-- 修改密码表单 -->
		<form action="{:U('User/submitPassword')}" method="post" class="am-form am-form-horizontal">
			<div class="am-form-group">
				<label class="am-u-sm-2 am-form-label">原密码：</label>
				<div class="am-u-sm-10">
					<input type="password" name="old" class="text " autocomplete="off" />
				</div>
			</div>
			<div class="am-form-group">
				<label class="am-u-sm-2 am-form-label">新密码：</label>
				<div class="am-u-sm-10">
					<input type="password" name="password" class="text " autocomplete="off" />
				</div>
			</div>
			<div class="am-form-group">
				<label class="am-u-sm-2 am-form-label">确认密码：</label>
				<div class="am-u-sm-10">
					<input type="password" name="repassword" class="text " autocomplete="off" />
				</div>
			</div>
			<div class="am-form-group">
                <div class="am-u-sm-10 am-u-sm-offset-2">
					<button type="submit" class="am-btn am-btn-primary submit-btn ajax-post" target-form="am-form-horizontal">确 认</button>
					<button class="am-btn am-btn-default btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
				</div>
			</div>
		</form>
	</div>
</block>

<block name="script">
	<script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>
</block>
